SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12e0fc1bd121542526b0f96c8c12a6d5482772b0a3052da1b5e1711d2001b7f8' 
  AND token = 'x2+B8NtPzOlAR1MWpQWf47vFg6E1uyF3exelYRqnk6w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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