SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d312f7b74a38ab4cba25ec257ccb4ac9355427baab3f36d90c47bea33640994' 
  AND token = 'L3PYfZ4Za9o/uJO5fkU+mwgyCIhI37PZ4bi/+HMbNbI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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