SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7db4560a29a87b7f86435d0aca82f798492cb39b95aa0c042aadf1d6f711bd6' 
  AND token = 'j0lweWLPqF8cnYzcbtw6IHvI2Khh7t1JvEcFamzua7I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}