SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba9c6718b865a5787d80c9a22b5e95d5551ecb0b1e940a1b309e4862449208ef' 
  AND token = 'lykdpwaeSCtCgDtxFN4fS/+EE02tUOovB2Dr2FuLvJs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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