SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04cb138d12083fdb0e045d3cadca2ad52cbbb643239c3e705ff973a84d31de76' 
  AND token = 'BA4Sq7I4zR4q9C2vO8oN7Jx3Xk+VtyBPcBAZOIwW5KA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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