SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a0d5c83ab0a0a877672fcb7df7295d26dd5f062e5af042f91a62d63517d72bf' 
  AND token = 'NB5bgMRfkU2WbnLUjn1Fr4ecUN8k6hnK5V0PC8ONxTA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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