SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1ba7108105a03fc72ae7796dc6e001aca7fbcd1fb7d070941f67678d40299b38' 
  AND token = 'pLtW2y5mPeREfvyLDRRyqwBU+vUjGdP3okf4VQR9w14=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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