SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecff2746d7d14a38fb6143ba8630e9267f5074f0354ff34f92cf4fa772d5bde4' 
  AND token = 'dOJjrrIaC70S04Mn0vNO1+GItwZJKdAIpv/eI+TgKSo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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