SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb970133bfeffc8e1e7a80dbe3a403e5a3852fc524b1901f65d87ceabce93100' 
  AND token = 'QPwOu9Zm/3c1LGb63ioyg0P0GWpOWHKDlYPaoO/8BK0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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