SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd498db0c274af956d201165904a156aff666f71e9d13e2335e48e840567cb407' 
  AND token = 'GH9q49LzkWo23JaBYRdJ6jPEErt0Bs9bvfWmVSUOenM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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