SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7f56dc09aef5564e254fb30efb91092e8aa0937635f92914dceae47881a0be1' 
  AND token = '0PI4nD7zn/F8hcJlYxOefJ9yINpsYOYtOFySHIVqYVU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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