SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5287a3a8848685b249f2bea78f9d3bb6d0fc3d61334b079ec0a118075e59b76f' 
  AND token = 'pGmWcTQqmLltL0fDGhx9LCIu0M11agggGCyrmoCZpw8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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