SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf3770a884006070435cc0c143f3c7c4d83011f739362e941903081ca2c69130' 
  AND token = '6u7TrxbEDkRSBhWKHoC2ic8pgbp8/m5w+eIVfNaCdz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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