SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50d6e72096701a2dcc9da3acb30cf57fe6b0788dcde875ecccfdae820b468c3a' 
  AND token = '6/ybicHCKeFbS/BFaMrpqLALHq7BocbZfKK6mruLaac=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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