SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '818e2bd4ffdb5be04cf44f60f7f4bd55c32d88a6864cdc968adafc078a762fb3' 
  AND token = 'KD0heKjlkyUUZPp5ebiJBQdq0N7Y+TGAyMjKjO4qSYA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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