SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01c1f6b91511555aa8302bffbeea8fed5147455d281b38d1a31bd4418e328430' 
  AND token = 'etrVKOFQ9xsZubpoHEWaXlRqWXNFYAVk21+DwcpI3ho=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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