SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ecccfe214572a4cd2b169920ef05f5c6d06a9d020e000efe53abcc5c354715b' 
  AND token = '4qjmktdg1VsaPZWYGomDqzIUBW+/BCOcZwPl+Bn4i3E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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