SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd20188440fbd0492bd989c0b997559917a03810c36dc9d8fe31da50a7e5abff8' 
  AND token = 'SqfuiFfs2XHlBgketp1/FhPUl82f4CdJiPv7Edc5ox0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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