SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5904c905eb829fdc17f393dd06b9b55b373cea29f2aeba25a4a37a81c1838484' 
  AND token = 'O9jy1utm4h8Ln7osFB8MaX+ULqsWIKmbPMOHu2IS36s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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