SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dff508b8989efcde332fecc2dc109d3016ce4453e649482bfd97cef9ee111b5' 
  AND token = 'XX7rqQytTPZDZGGR6k0j742wvK0uRkEniZtJYX2lVuY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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