SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0bd191a9ad93831972a8f553348da2aeb54df955ebbcb7721d80da23b45c6091' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00364

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}