SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a40956516f442911bd00d0bccc2b708011924a194199a563316b0e7e0373976' 
  AND token = 'EdM+lE0C4laKrQy1ZAZmtPWtYZ0Q9K6VIv0/vOuSihc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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