SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddb8c8a2e2565adc82f70352c553993ccd1ab3d89b92aa4fbfc001a609230fcb' 
  AND token = '8yrLuJxrcu6e7ySZ1Fi/CGR+oP6bE9M8vd+UhlecvSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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