SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '345c67de5b683dbaaba2455a3437f0e9ad61e98d0c9882fd21d30d3c18302f3d' 
  AND token = 'loWuNKy1BSR7mvwzyRttvQsP42Gew4XyHwFgGWt84kg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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