SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '406e599df81a72f8164dc38e0be06ae5e60b1ebfeeda575b97390cd4fd6c261b' 
  AND token = 'hE4oLVU2T8Mp0F9dFw+7+WfW+ZPVTumw4eDHEshz9OA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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