SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'daaa5bd9c06e017023d6713d993cdf0918e416cb5f9b040b0f4fd5907dd3bb4a' 
  AND token = 'wYw+/uQ8np4S/pSu06Ya7Ym2MKFSL2u/ETBSMKoZk7k=' 
  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"
    }
  }
}