SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '36518fc6d51518d698dc2223d8b87ac8a7355a9d21a67e033d86b0f966d5d5f9' 
  AND token = 'dgqcR+o5W9KROiHKu0d6sXtxjCIxEXEgTqUoFhT5Wro=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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